package com.lyh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private String msg;
    private Object data;
    private String url;//要跳转的路径

    private boolean flag;
    private List<T> resultList;
    private int errorType;//指定错误类型 1.验证码错误 2.表单信息错误
    private int pageCount;
}
